<?php
	require('config.php');
	$adId=$_REQUEST['adId'];
	$sql="update ".$oto."_ads set adClickNum=adClickNum+1 where adId='{$adId}'";
	$result=$db->query($sql);
	if($result)
	{
		$data[0]['pan']="true";
	}
	else
	{
		$data[0]['pan']="false";
	}
	echo json_encode($data);
?>